package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.NursingProjectDto;
import com.zzyl.entity.NursingProject;
import com.zzyl.vo.NursingProjectVo;

import java.util.List;

public interface NursingProjectService {

    /**
     * 分页查询
     *
     * @param pageNum
     * @param pageSize
     * @param name
     * @param status
     * @return
     */
    PageResponse<NursingProjectVo> selectByPage(Integer pageNum, Integer pageSize, String name, Integer status);

    /**
     * 新增
     *
     * @param nursingProjectDto
     * @return
     */
    Integer insert(NursingProjectDto nursingProjectDto);

    /**
     * 根据id删除护理项目
     *
     * @param id
     * @return
     */
    Integer deleteById(Long id);

    /**
     * 更新
     *
     * @param nursingProjectDto
     * @return
     */
    Integer updateNursingProject(NursingProjectDto nursingProjectDto);

    /**
     * 根据id查询护理项目
     *
     * @param id
     * @return
     */
    NursingProjectVo selectNursingProjectById(Long id);

    /**
     * 查询所有护理项目
     *
     * @return
     */
    List<NursingProject> getAllNursingProjects();

}
